package com.sihuatech.coreagent.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sihuatech.coreagent.core.communication.entity.StmView;

public interface StmViewMapper extends BaseMapper<StmView> {

	@Select("select * from stm_view WHERE file_date between #{startTime} and #{endTime}")
	List<StmView> selectBetweenTime(@Param("startTime") String startTime, @Param("endTime") String endTime);

	@Select("select * from stm_view")
	List<StmView> selectAll();
}
